
package gui.listeners;

/**
 *
 * @author JtR
 */
public class GuiActionEvent {
    private GuiActionEventType type;
    private GuiActionEventData data;
    
    public GuiActionEvent(GuiActionEventType type, GuiActionEventData data) {
        this.type = type;
        this.data = data;
    }
    
    public GuiActionEvent(GuiActionEventType type) {
        this(type, null);
    }
    
    public GuiActionEventType getType() {
        return type;
    }
    
    public GuiActionEventData getData() {
        return data;
    }
}
